fab07cfe9e7b1f9140bc3ec2f77f38d780b5ab36,integration-tests/src/test/java/tachyon/client/table/RawTableIntegrationTest.java,RawTableIntegrationTest,getPathTest,#,133

Before Change


  public void getPathTest() throws IOException {
    for (int k = 1; k < mMaxCols; k += mMaxCols / 5) {
      TachyonURI uri = new TachyonURI("/x/table" + k);
      long fileId = mTachyonRawTables.createRawTable(uri, 1);
      RawTable table = mTachyonRawTables.getRawTable(fileId);
      Assert.assertEquals("/x/table" + k, table.getPath());
      table = mTachyonRawTables.getRawTable(uri);
      Assert.assertEquals("/x/table" + k, table.getPath());

      uri = new TachyonURI("/y/tab" + k);

After Change


  public void getPathTest() throws Exception {
    for (int k = 1; k < mMaxCols; k += mMaxCols / 5) {
      TachyonURI uri = new TachyonURI("/x/table" + k);
      RawTable table = mTachyonRawTables.create(uri, 1);
      RawTableInfo info = mTachyonRawTables.getInfo(table);
      Assert.assertEquals("/x/table" + k, info.getPath());

      uri = new TachyonURI("/y/tab" + k);